package ${basePackage}.domain.service.impl;

import com.hopechart.micro.common.generator.mapper.MyMapper;
import ${basePackage}.domain.mapper.master.${modelNameUpperCamel}Mapper;
import ${basePackage}.domain.entities.master.${modelNameUpperCamel};
import ${basePackage}.domain.service.I${modelNameUpperCamel}Service;
import com.hopechart.micro.domain.service.impl.BaseServiceImpl;

import org.slf4j.Logger;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author daijiang@hopechart.com
 */
@Service
public class ${modelNameUpperCamel}ServiceImpl extends BaseServiceImpl<${modelNameUpperCamel}> implements I${modelNameUpperCamel}Service {

    @Autowired
    private ${modelNameUpperCamel}Mapper ${modelNameLowerCamel}Mapper;

    @Override
    public MyMapper<${modelNameUpperCamel}> getMapper() {
        return ${modelNameLowerCamel}Mapper;
    }
}
